8e650cfe3efd63a06c25b7e912d9d4db61598eb1,rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyEngineImpl.java,PolicyEngineImpl,getEffectiveClientRequestPolicy,#EndpointInfo#BindingOperationInfo#Conduit#Message#,196
Before Change
Conduit c, Message m) {
synchronized (ei) {
EffectivePolicy effectivePolicy = (EffectivePolicy)boi.getProperty(POLICY_INFO_REQUEST_CLIENT);
if (null == effectivePolicy) {
EffectivePolicyImpl epi = createOutPolicyInfo();
Assertor assertor = PolicyUtils.createAsserter(c);
if (m != null) {
boi.setProperty(POLICY_INFO_REQUEST_CLIENT, epi);
}
epi.initialise(ei, boi, this, assertor, true, true, m);
effectivePolicy = epi;
}
return effectivePolicy;
After Change
public EffectivePolicy getEffectiveClientRequestPolicy(EndpointInfo ei, BindingOperationInfo boi,
Conduit c, Message m) {
EffectivePolicy effectivePolicy = (EffectivePolicy)boi.getProperty(POLICY_INFO_REQUEST_CLIENT);
if (effectivePolicy == null) {
synchronized (ei) {
effectivePolicy = (EffectivePolicy)boi.getProperty(POLICY_INFO_REQUEST_CLIENT);
if (null == effectivePolicy) {
EffectivePolicyImpl epi = createOutPolicyInfo();
Assertor assertor = PolicyUtils.createAsserter(c);
epi.initialise(ei, boi, this, assertor, true, true, m);
if (m != null) {
boi.setProperty(POLICY_INFO_REQUEST_CLIENT, epi);
}